import styled from "styled-components";

export const MemberWrap = styled.div`
  margin: 0 auto;
  width: 980px;
  background-color: #fff;
  border: 1px solid #ccc;
  .userInfo {
    width: 978px;
    height: 200px;
    background: url(${require("@/assets/img/member.png").default}) 100% 100% /
      50% no-repeat;
    background-size: contain;
    background-color: rgb(243, 244, 245);
    position: relative;
    .checkdq {
      position: absolute;
      top: 20px;
      right: 30px;
      a {
        color: #328ad4;
        :nth-child(1) {
          margin-right: 40px;
        }
      }
    }
    .userHead {
      padding: 36px 70px;
      .userImg {
        position: relative;
        float: left;
        width: 128px;
        height: 128px;
        border: 1px solid #d5d5d5;
        padding: 3px;
        img {
          width: 120px;
          height: 120px;
        }
      }
      .userRight {
        height: 128px;
        margin-left: 148px;
        .userName {
          font-size: 22px;
          height: 34px;
          max-width: 570px;
          font-weight: 400;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          display: inline-block;
          font-family: Microsoft Yahei, Arial, Helvetica, sans-serif;
        }
        .userBuy {
          margin-top: 36px;
          .buyButton {
            display: inline-block;
            line-height: 38px;
            box-sizing: border-box;
            margin-left: 10px;
            background: none;
            border: 1px solid #bbb;
            color: #666;
            padding: 0 20px;
            cursor: pointer;
            font-size: 14px;
            :hover {
              color: #fff;
              background: #cccccc;
            }
            :nth-child(1) {
              margin-left: 0;
            }
          }
        }
      }
    }
  }
  .userPay {
    background-color: #fff;
    padding: 36px 70px;
    .taps {
      ul {
        border-bottom: 1px solid #eeeeee;
        ::after {
          content: "";
          clear: both;
          display: block;
          overflow: hidden;
        }
        li {
          float: left;
          width: 50%;
          text-align: center;
          font-size: 14px;
          height: 36px;
          line-height: 36px;
          span {
            display: inline-block;
            height: 36px;
            cursor: pointer;
          }
          .chec {
            border-bottom: 3px solid #ff7f63;
          }
        }
      }
    }
  }
  .price,
  .musicPrice {
    padding: 0 70px;

    ::after {
      content: "";
      clear: both;
      display: block;
      overflow: hidden;
    }
    .priceBox {
      border: 2px solid #eee;
      border-radius: 10px;
      height: 152px;
      position: relative;
      box-shadow: 0 2px 10px 0 rgb(0 0 0 / 8%);
      width: 201px;
      float: left;
      margin: 0 6px;
      cursor: pointer;
      :nth-child(1) {
        margin: 0;
      }
      :nth-child(4) {
        margin-right: 0;
      }
      .month {
        text-align: center;
        width: 100%;
        padding-top: 29px;
        font-size: 17px;
        font-weight: 700;
      }
      .priceNow {
        color: #ff3a3a;
        text-align: center;
        vertical-align: text-bottom;
        line-height: 36px;
        font-size: 30px;
        font-weight: 500;
        span {
          font-size: 20px;
        }
      }
      .priceOld {
        text-align: center;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        max-width: 80%;
        margin: 0 auto;
        color: #999;
        text-decoration: line-through;
        padding-left: 8px;
      }
    }
  }
  .musicPrice {
    .priceBox {
      width: 272px;
      :nth-child(3) {
        margin-right: 0;
      }
      .priceOld {
        text-decoration: none;
      }
    }
  }
  .active {
    border-color: rgba(255, 58, 58, 0.75) !important;
  }
  .anticon {
    background-image: none !important;
  }
  .productDesc {
    margin-top: 24px;
    height: 21px;
    padding: 0 74px;
    span {
      font-size: 14px;
      color: #999;
    }
  }
  .checkPicket {
    padding: 0 74px;
    margin-top: 50px;
    span {
      font-size: 14px;
      color: #333;
      line-height: 20px;
    }
    .checkP {
      font-size: 12px;
      color: #3189d4;
      margin-left: 10px;
      cursor: pointer;
    }
  }
  .selectP {
    padding: 0 74px;
    margin-top: 40px;
    .coupun {
      input {
        width: 225px;
        height: 40px;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 2px;
        padding: 0 20px;
        line-height: 40px;
        border-top-right-radius: unset;
        border-bottom-right-radius: unset;
        box-sizing: border-box;
      }
      button {
        display: inline-block;
        width: 75px;
        background: #fff;
        height: 40px;
        line-height: 40px;
        box-sizing: border-box;
        text-align: center;
        border: 1px solid #eee;
        border-left: none;
        border-top-left-radius: unset;
        border-bottom-left-radius: unset;
        position: relative;
        top: 1px;
        cursor: pointer;
        :hover {
          background-color: #eeeeee;
        }
      }
    }
  }
  .payforWay {
    margin-top: 20px;
    padding: 0 74px;
    p {
      font-size: 14px;
      color: #333;
      line-height: 20px;
    }
    .payWayBox {
      border: 1px solid #eee;
      padding: 20px;
      display: flex;
      .code {
        display: block;
        width: 100px;
        height: 100px;
        background: url(${require("@/assets/img/cord.jpg").default});
        background-size: cover;
        margin-right: 20px;
      }
      .payR {
        float: left;
        .picIcon {
          margin-top: 3px;
          i {
            width: 18px;
            height: 18px;
            display: inline-block;
            margin-right: 10px;
          }
          .zfb {
            background: url(${require("@/assets/img/zfb.png").default});
            background-size: cover;
          }
          .wx {
            background: url(${require("@/assets/img/wx.png").default});
            background-size: cover;
          }
        }
        .money {
          p {
            font-size: 44px;
            line-height: 40px;
            color: #333;
            span {
              font-size: 14px;
            }
          }
        }
      }
    }
  }
  .otherTq {
    width: 840px;
    margin: 60px auto 0;
    .title {
      height: 30px;
      text-align: center;
      font-size: 22px;
      font-weight: 400;
    }
    ul {
      width: 811px;
      margin: 0 auto;
      line-height: 20px;
      ::after {
        content: "";
        clear: both;
        display: block;
        overflow: hidden;
      }
      li {
        float: left;
        width: 140px;
        margin: 40px 10px 0;
        text-align: center;
        img {
          display: block;
          width: 60px;
          height: 60px;
          margin: 0 auto 15px;
        }
        p {
          font-size: 14px;
        }
      }
    }
  }
  .special {
    width: 840px;
    margin: 60px auto 0;
    h2 {
      text-align: center;
      height: 30px;
      font-size: 22px;
      font-weight: 400;
    }
    h3 {
      margin-top: 10px;
      font-size: 32px;
      line-height: 45px;
      text-align: center;
    }
    a {
      display: block;
      text-align: center;
      color: #328ad4;
    }
  }
  .faq {
    padding: 80px 0 40px;
    text-align: center;
    a,
    span {
      margin-right: 14px;
      text-decoration: underline;
      color: #999;
      cursor: pointer;
    }
  }
  .faqtc {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 640px;
    height: 346px;
    z-index: 999;
    .zttl {
      text-align: left;
      padding: 0 45px 0 18px;
      height: 38px;
      line-height: 38px;
      border-radius: 3px 3px 0 0;
      font-weight: 700;
      font-size: 14px;
      color: #fff;
      background-position: 50% 0;
      border-bottom: 1px solid #191919;
      border-radius: 4px4px 0 0;
      background: #2d2d2d;
      position: relative;
      .close {
        position: absolute;
        background: url(${require("@/assets/img/close.png").default}) 0 9999px;
        top: 16px;
        right: 20px;
        width: 10px;
        height: 10px;
        background-position: 0 -95px;
        cursor: pointer;
      }
    }
    .labox {
      height: 250px;
      overflow: auto;
      padding: 4px 34px 0;
      background-color: #fff;
      h2 {
        text-align: center;
        font-size: 16px;
        line-height: 36px;
        color: #333;
        font-weight: 700;
      }
      .fold-t {
        font-weight: 700;
        color: #333;
        padding-top: 16px;
        padding-bottom: 9px;
        line-height: 16px;
      }
      .fold-d {
        p {
          line-height: 16px;
          padding-bottom: 8px;
          color: #666;
        }
      }
    }
    .ikwon {
      height: 52px;
      padding-top: 12px;
      background-color: #f7f7f7;
      border-top: 1px solid #c6c6c6;
      text-align: center;
      span {
        color: #fff;
        padding: 8px 20px;
        white-space: nowrap;
        display: inline-block;
        border-radius: 5px;
        overflow: hidden;
        vertical-align: top;
        text-align: center;
        cursor: pointer;
        background-color: #2f7fcc;
        :hover {
          background-color: #569de0;
        }
      }
    }
  }
`;
